import request from '@/utils/request'

export function listPos(data) {
  return request({
    url: '/pos/order/list',
    method: 'post',
    data: data
  })
}

export function syncOrder(orderId) {
  return request({
    url: '/pos/order/sync/' + orderId,
    method: 'post',
    data: {}
  })
}
